import { createRouter, createWebHistory } from 'vue-router'

import menu from '@/views/menu'
import FoRm1 from '@/views/FoRm1';
import FoRm2 from '@/views/FoRm2';
import FoRm3 from '@/views/FoRm3';
import FoRm4 from '@/views/FoRm4';
import FoRm5 from '@/views/FoRm5';
import FoRm6 from '@/views/FoRm6';
import FoRm7 from '@/views/FoRm7';
import FoRm8 from '@/views/FoRm8';
import FoRm9 from '@/views/FoRm9';
import FoRm10 from '@/views/FoRm10';
import FoRm11 from '@/views/FoRm11';
import FoRm12 from '@/views/FoRm12';
import FoRm13 from '@/views/FoRm13';
import FoRm14 from '@/views/FoRm14';
import FoRm15 from '@/views/FoRm15';
import FoRm16 from '@/views/FoRm16';
import FoRm17 from '@/views/FoRm17';
import FoRm18 from '@/views/FoRm18';
import FoRm19 from '@/views/FoRm19';
import FoRm20 from '@/views/FoRm20';
import FoRm21 from '@/views/FoRm21';
import FoRm22 from '@/views/FoRm22';
import FoRm23 from '@/views/FoRm23';
import FoRm24 from '@/views/FoRm24';
const routes = [
  {
    path:'/',
    redirect:'/1',
    name: 'menu',
    component: menu,
    children: [
      { path: '/1', component: FoRm1 },
      { path: '/2', component: FoRm2 },
      { path: '/3', component: FoRm3 },
      { path: '/4', component: FoRm4 },
      { path: '/5', component: FoRm5 },
      { path: '/6', component: FoRm6 },
      { path: '/7', component: FoRm7 },
      { path: '/8', component: FoRm8 },
      { path: '/9', component: FoRm9 },
      { path: '/10', component: FoRm10 },
      { path: '/11', component: FoRm11 },
      { path: '/12', component: FoRm12 },
      { path: '/13', component: FoRm13 },
      { path: '/14', component: FoRm14 },
      { path: '/15', component: FoRm15 },
      { path: '/16', component: FoRm16},
      { path: '/17', component: FoRm17 },
      { path: '/18', component: FoRm18 },
      { path: '/19', component: FoRm19 },
      { path: '/20', component: FoRm20 },
      { path: '/21', component: FoRm21 },
      { path: '/22', component: FoRm22 },
      { path: '/23', component: FoRm23 },
      { path: '/24', component: FoRm24 },
    ]
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
